﻿using MediatR;
using System.CJL.Domain;

namespace System.CJL.API.Application.Command.RawMaterialCommand
{
    /// <summary>
    /// 原料添加
    /// </summary>
    public class RawMaterialAddCommand : IRequest<int>
    {
        /// <summary>
        /// 原料编号
        /// </summary>
        public string? RawMaterialNumbering { get; set; }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string? RawMaterialName { get; set; }
        /// <summary>
        /// 原料分类
        /// </summary>
        public string? RawMaterialClassify { get; set; }
        /// <summary>
        /// 原料尺寸
        /// </summary>
        public string? RawMaterialSize { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? RawMaterialSpecModel { get; set; }
        /// <summary>
        /// 原料属性
        /// </summary>
        public string? RawMaterialAttribute { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? RawMaterialUnit { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int RawMaterialinventory { get; set; }
        /// <summary>
        /// 原料类型
        /// </summary>
        public string? RawMaterialType { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? RawMaterilStatus { get; set; }
        /// <summary>
        /// 原料数量
        /// </summary>
        public int RawMaterialNumber { get; set; }
        /// <summary>
        /// 报警天数
        /// </summary>
        public int RawMaterialDay { get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public int InventoryMaximums { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public int InentoryLower { get; set; }
        /// <summary>
        /// 原料位置
        /// </summary>
        public string? RawMateriallocation { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? RawMaterialDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? RawMaterialReamrk { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? RawMaterialImage { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
